package com.websocket.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * spring boot 整合websocket
 */

/**
 * 访问方式：
 * http://localhost:8083/send/home/userid=23   登录用户
 * http://localhost:8083/send/home/userid=24
 *
 *
 * //对指定用户发送消息
 * http://localhost:8083/send/socket/push/23,24?message=发送消息
 */
@SpringBootApplication
public class SpringbootWebsocketApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootWebsocketApplication.class, args);
    }

}
